package com.bana.fvs.app.mvp;

/**
 * Created by wei on 2018/2/26.
 */

public interface ConstantsValue {
//    http://61.50.100.22:60000/bana_fvs/fogarea/getFogAreas.do
    /**
     * IP+PORT+工程名
     */

//    String baseHost = "61.50.100.22";
//    String basePort = "60000";
    String baseHost = "101.200.81.217";
    String basePort = "8080";

    //192.168.8.102:8080展会
    String BASEURL = "http://" + baseHost + ":" + basePort + "/";
    String BASE_WEBSOCKET = "ws://" + baseHost + ":" + basePort;
    //    String BASEURL = "http://192.168.8.102:8080/";
//    String BASE_WEBSOCKET = "ws://192.168.8.102:8080";
    String SOCKET_LAMP = BASE_WEBSOCKET + "/bana_fvs/websocket/lamp";
    String SOCKET_VISIBILITY = BASE_WEBSOCKET + "/bana_fvs/websocket/fogArea";

    /**
     * 不同的路径名
     */
    String BANA_FOGAREA = "fogArea/";
    String BANA_APP = "app/";
    String BANA_CODE = "code/";
    String BANA_LAMP = "lamp/";
    String BANA_LINKDEVICE = "linkdevice/";
    String BANA_VISIBILITY = "visibility/";
    String BANA_CONTROLLER = "controller/";
    String BANA_USER = "user/";
    String BANA_LOGIN = "login/";


    /**
     * 接口参数字段名
     */
    String TOKEN = "token";
    String CURRVERSION = "currVersion";

    String TELEPHONE = "telephone";
    String YHMC = "yhmc";
    String USERNAME = "username";
    String SBLX = "sblx";
    String SBZT = "sbzt";
    String PAGENUM = "pagenum";
    String WQBM = "wqbm";
    String GZMS = "gzms";
    String WDKZ = "wdkz";
    String SBBM = "sbbm";
    String SJ = "sj";
    String KZCZ = "kzcz";


    String PASSWORD = "dlmm";
    String ORIGINALPWD = "oldDlmm";


    /**
     * 能见度检测仪控制接口参数&&区域控制器控制接口
     * Open（打开）
     * Close（关闭）
     * Restart（重启）
     */
    String CONTROL_STATUS_OPEN = "Open";
    String CONTROL_STATUS_CLOSE = "Close";
    String CONTROL_STATUS_RESTART = "Restart";

    String CONTROL_STATUS_1 = "1";
    String CONTROL_STATUS_0 = "0";
    String CONTROL_STATUS_2 = "2";
    String CONTROL_STATUS_9 = "9";

    /**
     * 雾灯控制
     * Yello(强制闪黄灯)
     * Red(强制闪红灯)
     * VehRed(检测来车红闪)
     */
    String CONTROL_STATUS_YELLO = "Yello";
    String CONTROL_STATUS_RED = "Red";
    String CONTROL_STATUS_VEHRED = "VehRed";

    String JSON_DATA = "_json_data_";
    String PAGESIZE = "pageSize";
}
